<?php require VIEW_PATH."/header.php";?>
<body>
<form method="post">
    <table class="hd-table hd-table-form hd-form">
        <thead>
        <tr>
            <td colspan="2">修改密码</td>
        </tr>
        </thead>
        <tbody>
       
        <tr>
            <th>帐号</th>
            <td>
                {{$_SESSION['username']}}
            </td>
        </tr>
       <tr>
            <th>旧密码</th>
            <td>
                <input type="password" required name="old_password" class="hd-w300">
            </td>
        </tr>
        <tr>
            <th>新密码</th>
            <td>
                <input type="password" required name="password" class="hd-w300">
            </td>
        </tr>
        <tr>
            <th>确认密码</th>
            <td>
                <input type="password" required name="password_c" class="hd-w300">
            </td>
        </tr>
        <tr>
            <td colspan="2">
            <button class="hd-btn hd-btn-primary">提交</button>
            </td>
        </tr>
        </tbody>
    </table>
</form>
</body>
</html>